Template for a rails app to be used as a RESTful API