reorg to get socket.io working maybe?