Refactored to use Entry as struct member.
Add NewEntry, some helper functions.
LDIF add support