Code generator and scale image logic added
Model changes
New building logic added