Updated project to work with postgres backend