Bunch of changes

Updated to work with latest express. Moved a bunch of settings to a separate config file. Added various vim temporary files to gitignore. Implemented listening on various ports and specifying ipv4 and/or ipv6. Included upload script for clients.