Repaired disk implementation, re-implemented caches.
Still not ready for production...