Fixed some CS
No deal with invalid keys
Added caches option to be able to flush data from identified caches
Merge pull request #37 from mremi/add-caches-option

Add caches option