Added application context files and template DAO also set ldap template