echo module cleaned
ConnectionId type alias used where appropriate.
IdGenerator api added.