added className to Node and Subclasses, and added the edges class