Improve documentation and add rest-demo guide