0. totally move code into class Counter;
1. implement door open/close detection (bkgrd/hog);
2. separate most parameter settings for boarding and alighting;
3. accompany updated report of week 7/28-8/3 (8/8 updated)