Extract callback data object creation
Extract generic transaction connection
Extract generic request connection
Add inline docs