Basic cli implemented. Working towards fully implementing #2.