GraphModel binds node objects to vertices

Cleaned up the variable names; allow passing objects as vertices