Improved Storage handling by introducing StorageFactory.
Allow JournalIO to be closed.