add source code of the new easy batch framework