Major structural and style changes

Modified some variable names, divided functions into appropriate files.
Changed autonomous mode resolution logic.
Renamed and moved constants

Renamed and moved constants, see changelog
Renamed constants because they are shared

Changed op-control to use constants shared among auto and op control.
Merge pull request #1 from awiebe/master

Template Merge