refactored subscription code. Player class modified and in use in some parts of the code base.