Restructuring, new tool, more work done for replays.

This update breaks some of the tools. They'll be fixed in an upcoming
patch.