Finish Optimization 3.
Refactor all optimizations, splitting up #1, adding 6th.
Finish Optimization 6.
Add queries C-F.