Basic implementation up to the start of the game update loop now working.