Added missed description for method parameters.
Added class for query configuration - QueryConfig.
Logic for queries, callbacks and workflows name setting moved to factories.