Create a BatchAPI Class