Cleaned up the mess with old files. Added interrupt to rpi2caster; not working yet.
A mockup program to debug interrupt handling: wiringpi-interrupt.py