Add Doxygen comments to main function.
Add test directory and main sourcefiles.