[TASK] streamlining getTemplatePath()
[TASK] adding initialize controller method