Add AzureStorageDirectoryService.
Refactor code.