Refactoring of the Networkconnection, splittet it into single peaces.