aggregator: implement gap handling
drwxr-xr-x - libs
drwxr-xr-x - tests