Add control loops
Add dummy loop
Add control tests
Add control to docs