Harmonize naming (rename "dimensions" to "sizes").
Rename static property `layers` to `layersSettings`. Remove (not useful) setter `addLayer`.
If `options` is provided, use it as is. Otherwise try to retrieve them from `layersSettings`.
If layer type is not defined, assume it's a regular/base layer.