Workflow engine for splitting large request processing tasks into meaningful chunks, connected through node.js events