[di][factory] allow configure several storages.

it fixes #16