use factory pattern to create ldap schemes