* Add free_mem method in CatalogBase.py. Thus class that inhrits this base class can then implement this function to free used memory.