Minor changes

Added initialization for cur_input pointer to initializeTheInputRoutines
Work on input