Add filter and configuration options. Update README with new interface.