Wired up socket.io and modified addChild method in thotController.js to talk with socket. (also added simple "pingSocket" method for reference)