bring in aggregates module from sails-disk
add support for aggregations
fix updated function signature
remove warning and cleanup whitespace