add CLI usage and debuging