Creating Opt to execute stuff and OptFunc to contain all the processing functions.