added getopt stuff for GA parameters, verbose flag and other stuff