Adds code structure and updates main menu