Removed unused imports
Removed VERSION.txt and dropped support for python 2.6
made code pep8 conform and added a test for it