change server port to 3333. add db config for test and dev