Allow nested templates
Moar bug fixing
Added new meta data
Added option to allow for minimised output