Added initial version of the trajectory reading script