Implementation of getopt_long and first Flags
added a flag to specify Config File