F add teach mode service

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