Added an instance helper to read/write files.
Moved generated classes.