Created data context and repository