David appoints the Temple guards, the gatekeepers, treasurers and a system for governing the more distant tribes.