Module with one function of same name as the module?

Thanks! The module wrapping is mostly because my impression is that this is the way to deploy the code for other people to use? There are also some non-exported functions within the module that are used by the main function.