Comments and interrupts

This commented main.cpp
It should be clear to use now
Interrupts have also been set up and shouldn't need anything else