modularized base template, added header templated :leaf: