Move most of the CLI executables into the library