The Role of Temples and Palaces in Economic Activities