Refactor server, move private method to bottom.
Refactor server, move private method to bottom.

DealerDotCom/gvm-cli,skpal/sdkman-cli,skpal/sdkman-cli,busches/gvm-cli,dsyer/gvm,DealerDotCom/gvm-cli,GsusRecovery/sdkman-cli,GsusRecovery/sdkman-cli,nobeans/gvm-cli,dsyer/gvm,sdkman/sdkman-cli,jbovet/gvm,gvmtool/gvm-cli,shanman190/sdkman-cli,nobeans/gvm-cli