remove the class method dataManager() and fileCatalog() everywhere. Replace them with instance attributes dm and fc