Changed generating of interfaces and added discovered protocols to connection manager