created beans for all the classes (including enumerations)