implement eager loading for index action on main
do some formatting
fix errant parens
implement su's suggestions
Merge pull request #1450 from oneohtrix/eager_load_index

implement eager loading for index action on main