Getting rid of the external variable.
Added usage messages for each command.