Created a class for context data that is testable.