better building class and fix for zero color
more fix for building generation