Implementing a brached cache structure. Initial tests complete.