Move page generation to separate  class.
Implemented exporting to static HTML
Made popup controller source work with static exported presentations
Updated example presentation
Quick and dirty script to generate example for gh-pages