added getopt and usage for command line options