Add comments to clarify what we're doing in server.js

... also reorder config properties to help readability