Added key input to Application

added key input to the Application module