Added basic cache libraries & tests.