refactor vmgr, start nls work