Add little API documentation. close #106
Cleanup a bit too trailing whitespaces