I thought I added the corporation and stone work stuff. Looks like I left it out somehow. I'll add it next version. That function you copied is to check if the mod is activated. You'll need the copy all sections of the code which uses this function. Note that normal communitas map is not fully incompatible. New luxuries will still show up, but the new bonus resources won't. If that doesn't bother you, then you can just play straight without changes.