Add interrupt handling
Add all interrupt handling
Update video loop
Add test