Player class and input