First piecies of documentation

This is based on the currently defined tests.