Improved the example.
Separated the template processor from the compiler.
Added schemas.