Extract option parsing and creation