created database ORM for postgres and started testing with mocha
wrote more model tests