Implement connector do postgres database, also add spec for it