Kue - split into jobs

/cc @matthew-andrews @commuterjoy 

Use kue to split the parts of the app into separate jobs, (most of which) can be scaled up.
Good point, updated to keep API host in an environment variable.