Break apart some longer methods and add more commenting
Add full documentation; reorder init method in script
Remove files for demo pages (those pages moved to gh-pages branch