Refactor the entire CLI out of __init__