add gitignore
use batchNode properly.
fix a typo in logs