make loading from config dir a bit more robust.
Added option to config to not load WMS and WMTS capabilities.