added command line argument parser and evaluation