Refactor the subsumer implementation and add javadocs
Add utility to export the activity graph to a csv file
fix test