WIP: New Hardware variables and routines

Compiles, but will likely not work.
Changed power level to percent.
Changed over to const int instead of define
Added lots of hardware pins and states
Started model hardware control routine