Improve native module load and code insert

use a file to record node native for globle installed node

check cur and prev line content to determine how code should be insert