Remove dummy file 'main.cpp'
Add documentation to some internal functions
Document test methods
Integrate Doxygen into CMake build process