some cleanup and added python2 compatibilty
added setup.py