Refactor class Lychee/Config