layersettings - preparing the Layer class