change listener.py to just start flask and add example basic_listener.py