Finished up REST server.