Implemented SDL.poll_event and added the SDL_Event class