simplified to only work with postgres and removed unnecessary files
simplified to work with mongoengine and removed unnecessary files