Adding ClassDetail page and updating demo.rb