Theoretical and computer modelling of AGNs