fix to load templates from classpath
refactorings
refactorings
test case generation now deletes temporary files created during the
process