constants in _constants, LDIFConn in _ldifconn more logs, refactoring DSAdminTools.createInstance