fix postgres database creation
migrate the database and set connections for models
add start to making specs