adding new model factory support
Merge pull request #15 from gina-alaska/model_factory

adding new model factory support