Made application startup directory a public method that can be called before an instance is created.