put the server in a module