Refactor src/ modules and build + packaging process

Because `intl-messageformat` also has a `uitls` module.