changed srf02 python script into a class so it's callable from elsewhere