The primary JMRI concepts are defined by interfaces in the {@link jmri} package. Objects such as {@link jmri.Turnout Turnouts}, {@link jmri.Sensor Sensors}, and {@link jmri.SignalHead SignalHeads} can be directly manipulated as analogs of items on the layout.
To get access to these objects, you ask for them from a manager, e.g. a {@link jmri.TurnoutManager}. The manager can provide an existing object, or create a new one of the needed concrete type.
To find the managers, you start with the static members in the {@link jmri.InstanceManager} class.
Note: The class diagram below has been trimmed to not show some redundant (to a superpackage of a superpackage) or patterned (connecting a .configurexml package by convention) to make it more readable.