Added callback for drawing on the screen, fleshed out corner detector class