Adapted module to fit with the new API for getting all activies