Fix gitignore and remove swp file

Oops, vim did a thing and I was stupid
Make server url more configurable

The socket.io server url was hardcoded, now it's in a config file