The storage module is abstracted with StorageFactory that is capable of creating Storage instances. The latter contains the data and provides the behaviour for using the actual storage implementation, which sits behing a C API, conveniently.