Fixed a bug in the "get markdown root" method.
Added the concept of a template/master file which is in HTML. A set of "variables" are simply replaced with generated values.