Updated templates to reflect schema changes.
Updated README for new schema.
Built most of the higher-level template processing code.