reworked the selector's code and the event attach code
added the readme