added postgres for dev env, created nested routes required for the models. added a few views and started work on controllers