added event broadcast and listener for directory creation so that when a directory is created, the directoryIndexPage is updated by querying directories