Load templates async

exports loadTemplate function, used to add templates to ich