export all function into dict.js, leave index.js a clean cli