Refactor Figaro config