Code Block for setting up data infrastructure with repository and unit of work pattern.