implemented DirectoryChooser. And some generated TODO comment closed.