refactor grad stats to be like visitor
templatize refresher
Merge pull request #41 from tqchen/unity

Unity