refactoring of sinatra_ttt file