Add parallel collecting data in the database

Implements-blueprint: collect-data-in-parallel
Merge pull request #8 from smurashov/master

Add parallel collecting data in the database