Port RESTful API to grape.