first attempt at adding background batch processing to web app