add doxygen scripts

Use doxygen to generate document automatically. Test scripts with
doxygen-1.8.8.