added relative imports correctly, code will now import in python2.7
ran 2to3, then cleaned up the result a bit, now imports under python3. I have not done any further testing.