Setup relay output, and input button.

Re-arranged some source.
Merge branch 'feature/Relay_CTRL' into develop
Rearraged and added source.
Rearraged and added source.
Merge remote-tracking branch 'origin/develop'