Began work on c++ version of finalized structure