added handling of unused DIOs
gonna see if i like a class for handling the buttons
setting up the input class
input class has all its methods; rewriting main
moved button handling to separate class
cleared out old code in comments
flipped the way button states are reported to the app
changed button timer counter to 16 bit int and cleaned up comments
moved the button handling out of the main
fixed some directory stuff with the makefile
moving variable declarations around