sinatra api sample. It's just the output of my learning.