TJ: renamed io because of an import error in python2.7
TJ: weightless can now run with python2.7.