Added PWM for gpio and various other stuff