Add first draft of getTraj to repository