Super dirty implementation of write safe instances, and model.get_instances(). model.commit() must be used to save writes now
Removed some debug messages
Merge pull request #2 from Widdershin/model-instances

Model instances