Added instantiated input handling to the player

Attached the input component in code.