I feel that it should be the responsibility of sinatra app, what do you think?