Make settings a class which uses get_value_from_stdin from the interface passed in