Partitioned Server Manager

The server management system is now spread across three code files to
improve readability.