Added Support for Aggregate Framework

fixes #10