Refactor Config to follow the Gem configuration pattern