Redesigned the transmission layer to be more modular.
Fixed public headers + forward declarations.