Add cache description
Clear compilation errors and warnings

But it is very likely that there are still bugs