Converted to project for easy use in other projects
Support for loading models from JSON and dictionaries