split up the class files
framerate limits input cycle, etc - so it needs to be somewhat high
make sure the framerate is high
Added keyboard input to simulate IR remote
fixed the pixel colour detection
bunch of small refactors