Fix typo
Fix missing directory error.
Support of all CRUD operations on Directory.cs
Optimistic locking on edit operations.