Refactoring the Datalayers data integration implementation to increase code reuse.