Creates a new DirectoryModel using directory as the directory to monitor.
directory
A File
A newly created DirectoryModel