Split giant cl.py file