Refactored configuration options for chat server to separate class