Started porting C++ bot.