Kevin/Chris added functions in arraylist, added testcases, added OfflineDataManager class