simplify _new_row
remove py_modules
fix subclass signatures
don't use root logger
use ternary if
use list comprehension instead of filter
add_base_level is not protected
call sys.exit(0) after running __main__