started refactoring using events triggering
event driven playing ready