add building model and a building factory