added sinatra app mixin