Lots of support routines, enum file

Enums must be in a separate file, or the Arduino IDE won't recognize
them.