remove unused dependencies

removed files that used them as well
cleanup LDAP

cleaned up LDAP code a bit
made errors messages more meaningful

Issue: #75
Merge pull request #77 from metridoc/cleanup-ldap

Cleanup ldap