continued refactor - completed except for Teensy driver
cosmetic fix
cleanup .pyc files and updated .gitignore
cleanup .pyc files and updated .gitignore
functional one-file refactor