pep8
implements getattr style switch instead of dict-based.  previous concept put a hammer in my hand and made the project a nail