add cmake test for std::make_unique
get rid of most shared_ptrs and start removing explicit news