Changed trajectories to have separate start and end actions
Updated schema
Changed to FromAction and ToAction