use singleon to implement of VisualOdometry