moved most of the socket events to the map handler and soonall the actor events will be moved there as well