Creating class Player