Organize listen.py
Better command parsing
Periodic messages, logging tweaks