added gallery app views and templates