Finished model object factory.

ToDo:
1. modelgen tool that utilizes the model object factory, buildify and
handlebars;
2. meta object factory.