Modular hierarchy of files for better organization.
Added Doxygen documentation.