added rest endpoint for queueing and checking results[C