Modify CMakeLists.txt to reflect cmake.
Add documentation template file.
Reorganize CMakeLists.txt
Set CMP0007 policy to OLD
Fix CMakeLists.txt