refactor to dic
fix time
Add word count to index
modifying bool query to use thedict
hange 'count' to 'stats'
Add word total count to stats dict
fixing an omission
Merge pull request #12 from cRicateau/refactorIndex

Refactor index