better generate model
refactoring: remove namespace decl/processing/etc