Clone of Chrono lib and have some modify