Multiple aggregates and last version from Bitbucket

* Merged from Bitbucket last version.
* Added the ability to do multiple aggregates.
* Fixed TZ giving zeros.