added track has length that is a ratio of the total length. Connected pa...

...rts of the ui to the model