Initial stab at implementing the GPIO plumbing