Refactored code to globally create instance of shelter and call to get_input method