Codes update for "command" support and "browser compress" support

1. Support compressing with "command"
2. Support compressing single file with browser.