change get db connection info from hard code to from property file