This function is called after engine initialisation to initialise the game before begining the main loop.