lib: add FTM
examples: add broken ftm code