Improved visibility.
Merged Storage and ConsolidationListener abstractions.
Fixed wrong array creation.
Cleanup.
Mixed duration/resolution.