Update layeredconfig.py

Docced (and made write a staticmethod instead of a regular one)