Created trajectory object, refactored GT2 and project 2 to use it