Switch to using redis for the cache.
Use all 3 images per result page, and factor out some values to the config file.
Factor utility method to utilities module.
More refactoring and readability cleanup.