Code to explore the structure of the system.

Plus some explorations.