Reorganize module to be a little cleaner.
Refactored to have an executable script instead of an executable module.