Implement datalayer which can switch backend based on resource config.

SDUX-64