Changed cache implementation in the way any cache handler can be declared as interface