Start up code for Main.c