Introducing modular structure to the build.
Reorganized code into modules.