added first calls to mirror api in sinatra mini-app