First stage of writing the documentation. To be continued.