Service control and APR helper library