Created the Connection API class.

- first commit of the connection API class
- connection is responsible for storing connections between nodes
- class currently has basic functionality and docs