Refactore Config File