Return IR from generatorM instead of CGS record
Merge pull request #8 from aleksanb/generator-cleanup

Return IR from generatorM instead of CGS record