separate thumbnails by categories
todo: construct contents as json and convert it to html
index.html is generated from index.json and index.html.erb by generate.rb
add Rakefile