Initial implementation of TripBuilder

references #4