remove outlined Code
moved objectgeneration
removed unused COnstructor