tidy up comments; trigger template loading at the beginning of app start