API for setting up loopback`

Is there a self contained API that sets up loopback on the mini? I have gone through the LimeSuite and I couldn’t find one.
Thx,
Y-