Groundwork for controller - not tested irl.

Test asap!