Added dynamic cache creation
Ported cache code to generic linked-lists