TODO: insert many datagit add main.cpp and test