Redesign the TraceView API #6
Update test cases #6
Update documentation #3