Changed TEST, DEVELOPMENT, and PRODUCTION to PG from SQLITE3