Started setting up a modular structure for the code.