Initial server implementation.