Documented C structures and functions.
Added CMakeLists files