added tester, trainer, and main. Comments in NBCMain