Command line interface added as well as new output of program