Migrate main.py to twisted
Port tracker.py to Twisted
Remove callback.py and its tests, not used anymore.