comments added and methods organized in ServerImpl and interface