Add clear cache method
Formatting
Gallery image loading refactoring
Formatting