Refactor server configuration out into its own php file.  General commenting and cleanups of server files.