I would read the Complete EDB Guide and follow the links out; it's all in there.

https://forums.totalwar.org/vb/showthread.php?t=50439

Just follow the pattern of vanilla, you'll need to change the edb and eb file (possibly the dub file depending on what you change) and of course add in the images (3 per building level).