Move db config info to properties file