Add more API documentation.
Grid is not an API class;

This class supports the API and therefore has been moved.
Move class Trace into separate file.
Add more API documentation.
Add more API documentation.
Add more API documentation.