started working on the cli interface

need to think about testing the cli