Add standard template locating

[Templating] Use `file_locator` instead of `kernel` service
Fix CS