core interfaces Theme / Layer / LayerData refactored