re-struct;

- common implements in mz-component.
- change some api name.