adds in compiler api wrapper to compile the templated files