Change class from sinatra base to application