restructured namespaces; refactored payload handling; slightly refactored the connection management;