Working GPX upload/parse/store and beginning of template