Converted templates to civet style.
Reorganized example code into a demo site.
Trying to keep it simple here--probably don't need the 'lib' directory.