support hb & hd

1. redesign layout
1.  refactor to support hb & hd
注意这个count_check.rb脚本的管理