Refactor Config [WIP]

It'd be a bit nicer to use require_relative so that this files can be included from other projects if need be.