Consolidated state machine data into txt file rather than py
Library is coded, not tested; still trying to decide if I want to refactor into OOP or not.  What are the pros and cons?
newline change, not important