modifications that allows the usage of different database per environment

sqlite3 => dev
postgres => test
postgres => prod

and some minor version upgrade