Implemented disk storage and memory storage.
Implemented some tests.