initial commit of a ns_def.py file
edited ns class
Merge branch 'alex_dev'