added defines for button indexes
added initial power management features
refactored code
added missing file for power management
reworked blinking
added power management
add initial power management routines
fixed blink/enable/disable command