Added check for existing Generator
Changed IO access to new format
Added pre/postGeneration methods to Generator, adapted create-generator