Extract the socketio stuff to a library. Can probably move some of the connect screen over as a TODO:
temp
Actually add the swanlib project, forgot to include it before
merge commit