Player Instances Manager

* Player instances manager, to ease debugging
* Moved registering/providing/handling events code to `anm.js`