Code more compatible with Python3, few renames
README update
Compatibility updates