Sending a basic http response back to clients
Moved the server code into a module