Preparing for Librato.com integration. Fixed http listener. Refactored aggregators.