move server host to properties file.