Fix API gpio
Design overhaul