Create libraries with int functions (e.g. `mod`, `shl`, `shr`) with checked and wrapping semantics. Reuse these libs in the CLI crate.