Removed Un-used Code
Initial Abstraction of Input Event Handling Code
Initial Abstraction of Input Event Handling Code