Added Less and watch tasks to Grunt.
Restructured the socket server code a bit for nicer reading.