took local config stuff out of server.js and put it in its own config.js file, to be kept out of the git repo
fixed initial check for lastLoc