Implement source-type filtering.

Enabling filtering based on source type. Define desired types in the config file.