F add teach mode service

Fixes #1 
This has been tested and works well.
Last commit was actually mine @toliver (a git config problem)