An exercise on writing RESTFUl API using Sinatra and Sequel