Begin refactor; pull some of pair class functionality out into pair view.
Initial version of client js refactor.
Rename socketio server js file.
Finish general refactor and catch the worst bugs.