simplified to only work with postgres and removed unnecessary files