Made master template more configurable
Added an example document