Added class vertex. Added edges.