Massive refactoring and additions for the hyperion command server infrastructure.