fix(tools/basic): separate each module out of big type file