determine templates path using classloader