Added preliminary PID code.
Added initial system state mechanics.
Began incorporating systems states.