Remove the readConfig method
Refactor