refactored module api to webserver new HttpModuleInterface