re-organize rplidar_protocol.py