Revert build to functioning state. 

Update migrations to function with Postgres. Modify config to connect to postgres and move mysql connection info to separate config.