Creates UserInput object