checkin code
three main change:
1. DBOperation to new style
2. Support remote directory
3. report time-taken to 3 significant digit