Creating abstraction layers helps improve your code drastically by providing three major benefits: centralization, simplicity and better testing.