Finished implementing new API of HOD_mock. Still largely untested.