Extract queue handling and global middleware stack into Acfs::Runner.