Implemented the Server module