Created DataManager class as well as tests for it.