Switch to singleton Graphics class

Make Graphics a singleton to simplify construction without dependency
injection and enable use of the Animation class.