Spring cleaning

Adding some of my helper functions from python_tools into the parent
directory just so people see where they're coming from.  Using them to
clean up