The main program for the Avr in Bifrost the Aurora Project