Consider this as a work in progress patch. Though most of the REST calls are working, but will push required changes soon(as per functionality).