How to write a 1D controller

The basics

Todo

document 1D controller howto