Move ipcookie cache find/create functions into a separate file and rename.
Add rudimentary add/search cache functions.
Rearrange Makefile.