added Player class and CUIPlayer class