time and distance extracted from api response

time and distance extracted from api response, now the ideal is to be
able to set walking as default mode instead of driving.