added events to Application
getDirectory() to ProjectManager