added initial work on CLI