Changed output type to Object

Changed output type to be an object. Also changed so that it uses either
AD or ADSI/.NET to pull info based on what is installed.