Implemented some of the base server.