Added keyboard control
Added keyboard tracking back
Split out sensor and solenoid objects
updated time function
Swapped in new file for main.js
move old js
Fixed time - now fires solenoid after detecting a sheep!