update postgres connection params, remove createDb call in main