Formated code
Added Sync methods which are provided to sync data between different models
Added LinkId
Changed naming of Sync methods.
Added TrajectoryIndex for faster locating
Improved performance and encapsulated methods