working on it...
Modifying codegen to be work with objects, not be a native method
adding codegenerator