Basic struct
errors: basic hierarchy errors
IFactory: The interface of factory for building storages