More testing.
Don't assume tags file is in the cache directory.
Tags popularity in descending order
More templating code. Other minor changes
Add test template