Small change to class diagram, added Input

Added KeyEvent, MouseEvent and JoystickEvent to the class diagram.
Added event-based support for keyboard and mouse.