initial commit of REST API