Add layer of abstraction for gallery logic