some fixes and work on namespace implemention

* fix indentation
* add implementation for adding namespace for node