Refactor gift cards controller.