adds Player class