Ruby app, Sinatra to act as RESTful api for development of web app