oo server side code
    * move handler // initialize into app.js
    * move all socket functionality into server.js
        * not naming this socket.js because a Socket namespace
        already exists
    * cant pass fs && path into handler properly, putting them in the
    window namespace for now