fixed namespace
added some REST API documentation