Add exit codes for main and controls for Manager