Added Connectors

Added a way for extensions to add a way how the software is connecting
to the internet.
Additionally there was a reafactoring.