Made an object out of the drawing methods and canvas stuff. Also removed some console.logs from the socket stuff file.