add UI web and sinatra functionality