Added C++ implementation files and tweaked the ignore file.