Swap structure
Closure for handling the swap of cookies
Handle the swap using the swapHandler closure
Animating the swap of two cookies
Perform the swap in the data model