More pointers and explanation.
Move the resource management into a library libresserv.la.