Implemented building construction in datamodel.