update modular design

Signed-off-by: Conke Hu <conke.hu@maxwit.com>