Prevent namespace conflicts

Prepended "CPP" to all classes to prevent namespace conflicts. Also
changed #includes to further prevent conflicts.

TODO: rename all files with CPP prepended.