Improved restful and added docs