working on Trace; add singleton; first draft for hostSetState; (6)
working on Trace; add singleton; first draft for hostSetState; (7)