implemented ldap init
removed comments and added virtual property to methods