split resetNamespace to inNamespace;

move configuration to namespace in resetNamespace, and set namespace option in inNamespace.
should rename these methods…
tested inNamespace.