Moved the new main function to the interrupts file