Update tool.ph: add config class and token option

Signed-off-by: Michael LeCompte <michaelslec98@gmail.com>