Add documentation to module
Harden interface to addLayersFromConfig wth assert