init ninja's environment. add three search source.....then implement and improve them.