improve mvc structure of sinatra