Argument parsing and configureation done and seems to work.