class->module,rm cmd space,fix ret val, rm opt call

* change class param to module, class might be used later
* improve space in command printing
* fix return value
* remove unneeded option call