initial commit of the REST server.