chore(codec, transporter)

Changed codec and transporter's interface.
Now they are fully separate.