added command line tool without help(getopt is not used as of now)