Added caching to the categories

Signed-off-by: Steven Magelowitz <steven.magelowitz@gmail.com>
Merge pull request #68 from massmetrics/cache

Added caching to the categories