move config to properties file