Added gallery controller