Revert "change api to use grape"

This reverts commit acb401731bf39550a2dd7d61ad28e03e569afe14.