start making everything local scoped so we can unit test
follow pep8
update install script
don't apply 0.1 tolerence by default