PDIO-360 Refactor and add support of local or parallel mode during storage client instantiation