Updates so things import and run in a basic fashion under python 3
Fix string type deduction on py3