add constructor of batchprocessor
change front page