Fix the new Cache Controller and Memory Manager

This task is about fixing the kernel memory manager and the cache controller.