clear polynomial files
new template, append all implements to header file
purge polynomial files