C++ single inheritance seems to work, now I'm working on namespace linking