Foraging

Set up replay mode.  Still unfinished.