Adds option to disable API server