Implement CRUD for gallery