Batch mode via api
Token based authentication for some web api endpoints
Fixes #1
Signed-off-by: PulsarBlow <pulsarblow@gmail.com>