Add support for component filtering

Issue #3 resolved