Make the CPS/concurrent graph a function

We'll only use the first UAC for now