Documentation fix

It seems like nobody even tried to run Doxygen because it produces an empty help due to wrong input source files patches. Besides, using optional Dot tool make good looking dependency tree.