You need to tinker with the engine here, and I don't know how to work with it.
Each faction has its own ID – a new ID is needed for the faction, but then you need to somehow link it to the building system, buildings, building features, and then ideally add a racial skill and hero class (each with its own ID).