added socketio, try to add eventemitter to logger class. (not finished yet!)