Add query() function to HybridSim API

Use query() to get config data from HybridSim in mt_tbs
This allows us to avoid setting the same config data twice
and potentially making mistakes.