Transformation of transport to a new class
TODO:
 * Write at least a new transport for TCP in order to have access all features
 * Move the transport classes to a new file.