class model using boost graph
change to class graph