Making the code modular, for ease of modification, testing, reading