mod. move AggregateMeta builder to aggregator module. add 'dist' aggregator to time_to_threshold. pep8