removed DirectoryDao
added DirectoryRepository