Templatise 02 and 03

These changes implement changing from tenmplkate simple to templates 'gbs_tagcounts' for process 02 and 'gbs_sam' for process 03.