Implemented further steps from a typical gentoo installation
use cfgio where possible