made load_config comment describe what to pass in for namespaces, added error handling for keyvalue decl outside of namespace