template loading

setup for loading templates