controller basics layed out