(Part 1/3) Example menu codes: Initialisation and Rendering