Moved Config to singleton pattern