chore: reorganise code out of main, and docstrings in input_handling ba6e051 rmm commited on Jan 30, 2025