I'd vote for keeping it in the logic of the Adapter. The Options class only deal with string mostly, how could it create a repository ?