Organise imports better

Reduce the number of imports required to include a command line module.
Should reduce time it takes for the 'sr' binary to load.