an attempt to build a RESTful interface to moksaya