add method to store dep material
consolidate aggregation and recursive aggregation

move _recur_aggregate functionality into _aggretate. change behaviour
by using argument "recursive".

add command line option to use recursive functionality