added gallery doctrine, new views and new controller