Coding the Fragment classes to use the DataManager class