REC Migrator

Migrate old REC template code to the new Twig syntax