Renaming WebModule to ServerModule, and refactor ServerModule