Extend and fix code docs
Merge pull request #1 from AntonTyutin/master

Extend and fix code docs