added contact and refactored tests
switched to postgres db