Electronic structure studies of intercalated, hetero and endohedral fullerenes