init gallery app