Add the plugin to the REPL
Refactoring template transformation, step 1
Refactoring template transformation, step 2
Test cases for first part of #53