Refactor to work as WebServer module + implement Servlet interfaces