refactor word repository to pass in named collection in options hash