Electronic properties of aromatic and heterocyclic molecules