Refactoring to make things more reasonable.
Refactored server configuration stuff to be a bit more user-friendly.