DRY up initialising controllers
Add csv module
Flatten doc schema
Move "pulse" to front
Add dataExport
move transform fn out to chain instead of in options

also yes/no more understandable than true/false
Fixes #18