Add the building function for villager