Update documentation

Increase and correct documentation, as well as provide a simple usage example.