adding postgres gem and its setup

- adjusting secrets and database config