core cleanup: introduce data structures for backend transport API