Merge pull request #8 from ktsanov/master

JavaDoc comments were added.
Source code formatting was done.
Merge pull request #1 from TodorBalabanov/master

Update with master fork.