compilable system of templates loading