Added functionality for composition so that it should be fairly robust
now
Added mainModuleInfo class