Refactoring system configuration in Server class