Implemented first dumb version of object dynamic generation. Some issues to be fixed