coding style improvements + documentation
Merge pull request #53 from creolis/master

requested coding style improvements