Generator is now a class. More DRY.
Changed filename in read me.