splitting the cli from the model