Added doxygen-formated comments to /lib/ code; generated documentation in ./doxygen/ directory in html and latex formats