Cleverly adding calls to cache
code cleanup + adding support for printing top words in each topic