Add caching and laravel-esqe safe echo processing to template core