Changed from python to C++. Basic Thing structure.