Move synchronization to a scheduled timer
Rename test.py to interface.py and add some docstrings