Fixed compile.sh and added CMake script. Added pugixml
Added Copyright notice to source files.