Introduce topology class for modular simulator