using modella library for models, forked its upstream to support browserify and an 'instance store'