Added beginnings of perm cache code
15/5 Tasmania changes