Refactored the ConfigLoader class so it makes use of exceptions for errors, this means cleaner code within that class, and Use case code.