Merge pull request #16 from vhordejcuk/master

Refactoring, simplification, async HTTP client used, fixed many bugs
Added histograms, etc.