Begin working on the API.

Make cables not connect to each other if they are of different types.