big refactor. I made the emulator into a class so that it is better encapsulated and did some additional reorganization. I want to make the Octo chip8 emulator less intertwined with the web IDE.
created a cut-down emulator frontend suitable for embedding in an iframe.