Change to Postgresql for development
Added some advanced configs