Added DAO and tests for the Directory service.