added templates to package make target, converted site flags over to templates, changed template factory so it only loads files with .tmpl extension, made templates case insensitive, stopped registervalue from throwing an exception when user doesnt use all tags