Refactored images views as class based views
Updated URLs in image templates
Make image model configurable in views