Added Aggregation Script - Aggregation now done in PHP.
Aggregation can be tested by using the provided aggregation_test.html file.