node syncer module.  Modulized the code.