Working on GraphFactory. Added method to determine time spent doing an activity.