Added getopt
Adding license