Moved all configuration options into the class  ServerConfiguration which can be configured through a properties file.