GPIO support added

The ACT light glows now (after flashing once to confirm boot). The
kernel is now written in C.