Added the start of the options processing section, however does not yet compile