#81.  Finished AD integration.  Added mock assembly to use for testing when AD is not available.