Inject root dir to Application
Changed getRootPath() to path()