Fix indentation in tail.py
Small cleanups

* move tail into smap.iface
* rename everything to discovery