class node: added some new members, implemented simple methods
class connection: added setters/getters, implemented them
both: added destructor, implemented it.

TODO @Fred: check if destructors are ok