create Gpio class