New generator crate.

The new generator crate abstracts out the functionality of generating
static files.
Added template and frontmatter module to lib.rs