Moved helper methods to top level
added methods for handling ldap enities