Remove not used part of code

Signed-off-by: Michal Čihař <michal@cihar.com>
Document all user visible classes

Signed-off-by: Michal Čihař <michal@cihar.com>
Simplify errors parsing

Signed-off-by: Michal Čihař <michal@cihar.com>