fixes to mangled commonlib dependencies
multi-module abstraction for StorageFactory