Refactored LDAP and Notes code into their own classes.
User notes are ordered by timestamp.