Working on replacing the config module.

Signed-off-by: crynobone <crynobone@gmail.com>
Fixes some stuff.

Signed-off-by: crynobone <crynobone@gmail.com>