The board may appoint an engineer of work, in which event the duties to be performed by the city engineer as set forth in any law referred to in this chapter shall be performed by the engineer of work, whose compensation and expenses shall constitute an incidental expense in the cost of the work.