move gpx parser to helper
move file creation in gpx helper
add helper to compute coordinate distance and rspec to test it
add method to compute total distances from an array of coordinates
save trail length in meter