Add interrupt.h
Fix compiler errors