add word list page and search filter

I've implement word list page and filter please review.
variable should be category
Category.all.map {|category| [category.name, category.id]}