removed console.log statement
moved all ws communicator commands to separate module