removed commented out require
empty index computing simplified
using pure ruby instead of liquid for csv template (for performance reasons)