refactor src/server directory based on cpplint.py