start working for insert namespaces into framework. this branch is unstable since backed to master branch