Add logging

Issue #13

Adding logging using socket.io based logger.