updated to work in python 2.7 and 3.x
updated readme
updated comments to reflect file name changes