Added sinatra interface