Setup everything, waiting for interrupt to work