Split option parsing to another class.

Summary: About to add moreoptions, threading them through is getting unwieldly.

Reviewed By: @JoelMarcey

Differential Revision: D1540300