Added program save/restore to .orc files
Moved ORC file logic to separate file
Split type/scope creation out of ProgramGenerator