Improving pin change interrupt handling; board and interrupt pin class.