reconstruct mathwordtool.cpp -> math.cpp