Add the optimize command.
Add usage message.