use `namedtuple` for core objects representation
implement `get_thread()`