refactoring, getting rid of LayerBuilder for LayerInfos