Whisper refactor

Changed 2 space indents to 4 spaces since that is the default for python editors.  A few small changes for pep8.  Added a tests directory for unit tests.