separating cli from module