Moved PPU stuff to its own class.