CupManager class added