Merge pull request #5 from naryl/master

aggregation
Merge pull request #6 from naryl/indexes

Indexes
Merge indexes, close idle pooled sockets