create a module for the server, add documentation for server module