protected open fun initialiseStorageService(dir: Path): <ERROR CLASS><StorageService, CheckpointStorage>