adding receive method with parameter of type Event
addind send methods to InputHandler