Updated gallery view to use mustache templates
Should make use of the templates all throughout the app