Created basic cache object and its tests

No QA possible it's just a basic object.