--Fixed DirectoryWatcher
--Added lost code to ApplicationController