Moving parameters to properties file. Adding hostname to sql connections