Adding python 3 support
Reverting from past state
Fixing unicode support