Refactored Main class so that SimpleServer gets injected a connectionHandler not a listenSocket.