Added reading option list from tophat resources.
Added arbitratry options passing.
Refactor to make it easier to follow.