Create EventHandler.java

I have combined the two event handler classes(mouse and key) into a single event handler.