Convert To CMake

Also added dbihar library Fortran code.