Adds images and separates graphics logic from map generation.