Added root variable
Added Gentoo support
Added creation of root directory
Added checks for root directory existence