Update and rename Input.java to InputMethod.java