Initial swipe at C based agent
Using APR pools