adding log. temporaly delete reading from socket
refactored to plugins add and remove queue

fixed and added some bugs =(