Code moving; added ability to trace ancestry back to the focal node.
Introduce flask.