working cache server in clj
tests added, global state removed