added a data context manager class (rename?) to manager context creation and disposal to simplify repository usage and manage context lifetime for testing and production code.