cleanup code think about unittests TODO: better update handling for video parser handling, e.g. as a separate python module prettify.sh could be a githook