Added a gallery controller to the application