basic rack app and sinatra implementation