Decouple from streamlit
Currently, and for the foreseeable future, we make heavy use of streamlit in the pipeline. Eventually and ideally we want to decouple the streamlit interface from the rest, so that we can e.g. have a command line interface or an autonomously running process.