add rack-test for testing grape api
add new spec for api
add some comments to the api
add some comments to the api