added way to represent classes in sinatra