ReSTfull controller