Configured Postgres for dev and test
Refactored static_pages spec