Start C++ version

Start by deciding which resources need to be managed.