Added cli.py features into player.py.