refactor: add top-level Emu6502 class