Finished first version of command line interface