Push shit into a module.

Again I remember how the packaging documentation for Python is so fragmented
and messy.  Sigh.