Added new HW template

adapted from bamos hw template; basically added some pandoc hooks.