Added root path variable to logs folder.
Added filesystem class.