Added parallel scan feature.

Added feature of parallel scan.
Added some functions to create custom ComparisonAttributes easier.