Packaged functions into a module instead of global namespace