Moved bind to separate module and set up connection pooling for ldap