Refactored the ORM integration into a separate NPM package allowing for alternate ORMs and database engines, i.e. RethinkDB.