Initial import and some updates to AclCache. Not yet fully finalized.