add cache package
move some stuff to commons cli package.