Added some documentation, added a quit command for consistence, started the server on its own thread and allowed the user to stop it using a stop command.