GpioInterface, development gpio class and some fixes