Db config

*Change sqlite3 database to postgres for test, development and production
*Test confirms database exists