Converted m6toolbox.py to a package