initial commit for the REST API