Compiler::generateSourceFiles() now clears the src directory before it writes to it to prevent extranious files.