added exit codes and verbose level constants