find multiple classes
add graph pickle support