Continu refactor to support different protocol:
- refactor connector
- begin refactor of openwebprotocole.