Moved startServer(), version, and main calls into if group.