Added use of manager directory service.

This might now be the ideal way to use the service because
I've copied some utility code to the server directory.