formatting.
Added inlcude directory to CMake sources
changed error messages to be printed to std::cerr instead of std::cout