Add a simple filter graph structure and functions