refactor(server): Refactor Server into modules. rename modules