First step to multi-thread tracing, and object-oriented structure