Moving NS process code to its own folder.