Got route data, extraccted distance and route and put in database