add stream.py and supervisor.py