Fixed example code require'ing the wrong thing
Now end the connection when disconnected. May want to change to destroy().
Added sublime-text project file