Player input class