Making server optional for CLI apps.