Draft refactoring transports
Continue refactor
Merge pull request #6 from maxmouchet/refactor_transport

Refactor transport